package com.designPatterns.strategy;

public class Test {
	public static void main(String[] args) {
		Pig whitePig=new whitePig();
		whitePig.setFlyBehavior(new whiteFly());
		whitePig.setShoutBehavior(new whiteShout());
		whitePig.display();
		whitePig.fly();
		whitePig.shout();
	}
}
